package lesson.service;

import com.baomidou.mybatisplus.extension.service.IService;
import lesson.entity.Role;

import java.util.List;

/**
 * @Description:
 * @Author: Wanzhen
 * @Date: 2022/6/13-10:20
 */
public interface RoleService extends IService<Role> {

    List<Integer> queryAllPermissionByRid(Integer roleId);

    void deleteRoleByRid(Integer rid);

    void saveRoleMenu(Integer rid, Integer mid);

    List<Integer> queryUserRoleById(Integer id);

}
